package com.dao;

import com.entity.PageBean;
import com.entity.Staff;

import java.util.List;

public interface StaffDao {
    int insert(Staff staff);
    int update(Staff staff);
    int delect(int id);
    void findAllStaff(PageBean<Staff> pageBean);
    List<Staff> findAll();
    Staff findStaffIdPass(int staffId,String pass);
    Staff findStaffId(int staffId);
    List<Staff> findStaffId(String staffName);
    int updatestaffId(int staffId,int id);
    int updatePass(Staff staff);
    int maxId();
}
